<template>
  <a-result
    :isSuccess="true"
    :content="false"
    :title="title"
    sub-title="您的账户已经注册成功,请联系管理员授权">

    <template #extra>
      <a-button size="large" style="margin-left: 8px" @click="goLogin">返回登录</a-button>
    </template>

  </a-result>
</template>

<script>
export default {
  name: 'RegisterResult',
  data () {
    return {
      title: ""
    }
  },
  created () {
    this.title = "你的账户:" + this.$route.params.name + " 注册成功"
  },
  methods: {
    goLogin () {
      this.$router.push({ name: 'login' })
    }
  }
}
</script>

<style scoped>

</style>
